<?php
namespace Reseller\Controller;
use Think\Controller;
class ResellermerchantController extends IndexController {

	public function _initialize(){
		parent::_initialize();	
	 	//$this->model="affiliateMerchant"; //表名
		$this->model_view="ResellermerchantView";//视图
	 	$this->key="aff_id";//排序键		 
	 	$this->title_index=L('mymerchant');//选项卡标题	
	}
	
	public function index(){			
		$mist_arr=array();
		$accute_arr=array();
		$cookie_arr=array();	
		$con=searchCon($mist_arr,$accute_arr,$cookie_arr);
		$con['affiliateMerchant.aff_id']=$this->reseller_info['aff_id'];	
		parent::home($con);
	}
	
}	